package com.windfone.dao;

import com.windfone.model.ProductBase;
import com.windfone.model.ProductCameraFunc;
import com.windfone.model.ProductDigiFunc;
import com.windfone.model.ProductMultimediaFunc;

public interface ProductExtendDao {
    public int deleteProductBase(int keyValue);
    public int updateProductBase(ProductBase bean);
    public int insertProductBase(ProductBase bean );
    public ProductBase loadProductBaseByProductId(int keyValue);

    public int deleteProductCameraFunc(int keyValue);
    public int updateProductCameraFunc(ProductCameraFunc bean);
    public int insertProductCameraFunc(ProductCameraFunc bean );
    public ProductCameraFunc loadProductCameraFuncByProductId(int keyValue);
    
    public int deleteProductDigiFunc(int keyValue);
    public int updateProductDigiFunc(ProductDigiFunc bean);
    public int insertProductDigiFunc(ProductDigiFunc bean );
    public ProductDigiFunc loadByProductDigiFuncProductId(int keyValue);
    
    public int deleteProductMultimediaFunc(int keyValue);
    public int updateProductMultimediaFunc(ProductMultimediaFunc bean);
    public int insertProductMultimediaFunc(ProductMultimediaFunc bean );
    public ProductMultimediaFunc loadProductMultimediaFuncByProductId(int keyValue);
    
	public int deleteProductBaseByProductId(int productId);
	public int deleteProductCameraFuncByProductId(int productId);
	public int deleteProductDigiFuncByProductId(int productId);
	public int deleteProductMultimediaFuncByProductId(int productId);
    
}
